<el-table class="el-table--mini" show-header="false" hover border highlight-current-row :data="tableData" style="width: 100%">
    <el-table-column label="组件ID" prop="id" width=100>
    </el-table-column>
    <el-table-column label="本次版本" prop="toVersion" width=100>
    </el-table-column>
    <el-table-column label="上次版本" prop="fromVersion" width=100>
    </el-table-column>
    <el-table-column label="操作人" prop="optUserName" width=100>
    </el-table-column>
    <el-table-column label="操作时间" prop="optDateTime" width=150>
    </el-table-column>
    <el-table-column label="操作内容" prop="desc" show-overflow-tooltip=true>
    </el-table-column>
    <el-table-column label="操作" prop="opt" width=120>
        <template slot-scope="scope">
            <el-button type="text" @click="handleCompareClick(scope.row.toVersion)" size="small">文件对比</el-button>
        </template>
    </el-table-column>
</el-table>